package com.hitqz.robot.api.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author xupkun
 * @date 2024/6/6
 */
@Data
@TableName("robot_map_area")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "机器人区域")
public class RobotMapAreaEntity extends Model<RobotMapAreaEntity> {

	@TableId(type = IdType.AUTO)
	@Schema(description="id")
	private Integer id;

	@Schema(description = "区域名称")
	private String name;

	@Schema(description = "区域地区的编码")
	private String mapCode;

	@Schema(description = "编码")
	private String code;

	@Schema(description = "分组id")
	private Integer groupId;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMapCode() {
		return mapCode;
	}

	public void setMapCode(String mapCode) {
		this.mapCode = mapCode;
	}

	public Integer getGroupId() {
		return groupId;
	}

	public void setGroupId(Integer groupId) {
		this.groupId = groupId;
	}


	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
}
